#include "hla_processor.h"

void HlaGroupsPairProcessor::process(const HlaData& data)
{
    for (HlaData::const_iterator group1 = data.begin(); group1 != data.end(); ++group1)
    {
        HlaData::const_iterator group2 = group1;
        while (++group2 != data.end())
            process(*group1, *group2);
    }
}

void HlaGroupsProcessor::process(const HlaData& data)
{
    for (HlaData::const_iterator group = data.begin(); group != data.end(); ++group)
        process(*group);
}

